﻿creATE proc thuan_qtdanhmucvitrimenuthem  
@DienGiai nvarchar(255)  
as  
if exists(select * from DanhMuc_ViTriMenu  Where DienGiai =@DienGiai)  
begin  
select ErrCode=0  
end  
else  
begin  
insert into DanhMuc_ViTriMenu  (DienGiai)values(@DienGiai)  
select ErrCode=1  
end  
